const mongoose = require("mongoose")
  , Schema = mongoose.Schema;

const formSchema = new Schema({
	tenant: String,
	form_name: String,
	form_desc: String,
	content: String,
	content_parse: String,
	content_data: Object,
	fields: Number,
	add_fields: Object,
	is_del: Boolean,
	create_time: Date,
	update_time: Date
})

const form =  mongoose.model('form', formSchema);

module.exports = form